/**
 * @License: (C) Copyright 2013-2022
 * @Contact: abcque@outlook.com
 * @IDE: IntelliJ IDEA
 * @Encoding: utf-8
 * @Project: st2214st2215
 * @Package: PACKAGE_NAME
 * @File: Arithmetic.java
 * @Time: 2023/4/11 15:07
 * @Author: abcque
 * @Description:
 * @Modifier:
 * @ModifyDate:
 * @ModifyRemark:
 */
public class Arithmetic {

    public static <T > void  show(T t){
        System.out.println(t);
    }

    public static <T extends Number> Double add(T i, T j){
        return i.doubleValue() + j.intValue();
    }
    public static void main(String[] args) {
        show(123);
        show("Hello, World!");

        System.out.println(add(12, 34));
    }
}
